/*****************************************************************************
 *
 *                      HUSONG PROPRIETARY INFORMATION
 *
 *          The information contained herein is proprietary to HUSONG
 *           and shall not be reproduced or disclosed in whole or in part
 *                    or used for any design or manufacture
 *              without direct written authorization from HUSONG.
 *
 *            Copyright (c) 2015 by HUSONG.  All rights reserved.
 *
 *****************************************************************************/
package com.broker.provider.impl;

import me.send.broker.entity.Complain;
import me.send.broker.service.ComplainService;
import me.send.framework.util.HelperUtil;

import com.broker.provider.base.BaseService;

/**
 * @author maxmin
 *
 * @date 2015年8月24日 上午11:31:44
 */
public class ComplainServiceImpl extends BaseService  implements ComplainService {

	/* (non-Javadoc)
	 * @see me.send.broker.service.ComplainService#complain(me.send.broker.entity.Complain, java.lang.String)
	 */
	public int complain(Complain complain) {
		complain.setCreateTime(HelperUtil.getCurrentDate());
		return complainMapper.complain(complain);
	}

}
